package com.wxzz.elearing.livetelecast.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wxzz.elearing.livetelecast.dto.LivetelecastCategoryDto;
import com.wxzz.elearing.livetelecast.entity.LivetelecastCategory;
import com.wxzz.elearning.common.vo.JgPageVo;
import com.wxzz.elearning.common.vo.ReturnVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2021-04-02
 */
public interface ILivetelecastCategoryService extends IService<LivetelecastCategory> {

    /**
     * 展示直播分类(小程序)
     * @return
     */
    ReturnVO<List<LivetelecastCategory>> listAllLivetelecastCategory(Long pid);

    /**
     * 新增直播分类(总后台)
     * @param livetelecastCategory
     * @return
     */
    ReturnVO saveLivetelecastCategory(LivetelecastCategory livetelecastCategory);

    /**
     * 删除直播分类
     * @param id
     * @return
     */
    ReturnVO deleteLivetelecastCategory(Long id);

    /**
     * 直播分类列表(总后台)
     * @param livetelecastCategoryDto
     * @return
     */
    ReturnVO<JgPageVo<List<LivetelecastCategory>>> listLivetelecastCategory(LivetelecastCategoryDto livetelecastCategoryDto);

}
